//=============================================================================
#ifndef _CNETWORKSTREAM_H_
    #define _CNETWORKSTREAM_H_

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <windows.h>

#include <SDL.h>
#include <SDL_net.h>

#include "CLog.h"
#include "CNetworkMessage.h"
#include "CNetworkPacket.h"

//=============================================================================
class CNetworkStream {
    public:
        CNetworkStream();

    public:


    public:
        static void SendHeader(int Socket, char Message, Uint32 DataSize);
        static int SendString(int Socket, std::string Content);
        static int SendData(int Socket, Uint8* Data, int DataSize);
};

//=============================================================================

#endif

